package com.atguigu.structure.bridge;

public class CarClient {
    public static void main(String[] args) {
        TinyCar tinyCar = new TinyCar(new FuelEngine());
        tinyCar.drive();
        System.out.println("----------------------");
        BigCar bigCar = new BigCar(new ElectricEngine());
        bigCar.drive();
    }
}
